Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function AesEncrypt( _ ByVal valueToEncrypt As String, _ ByVal key() As Byte, _ ByVal fipsCompliant As Boolean _ ) As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim valueToEncrypt As String Dim key() As Byte Dim fipsCompliant As Boolean Dim value As String value = CryptoFns.AesEncrypt(valueToEncrypt, key, fipsCompliant) |
C# | |
---|---|
public static string AesEncrypt( string valueToEncrypt, byte[] key, bool fipsCompliant ) |
C++/CLI | |
---|---|
public: static String^ AesEncrypt( String^ valueToEncrypt, array<byte>^ key, bool fipsCompliant ) |
Parameters
- valueToEncrypt
- key
- fipsCompliant
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family